package asteroids.model.programs.parsing.expressions;

import java.util.Map;

import asteroids.model.CollisionObject;


public abstract class E implements Cloneable {


	public abstract Object getContent(Map<String,E> map, CollisionObject givenCollisionObject);
	public abstract boolean isBoolean();
	public abstract boolean isDouble();
	public abstract boolean isEntity();
	public abstract boolean isString();
	public boolean isNull(){
		return false;
	}
	public String toString(Map<String, E> map, CollisionObject givenCollisionObject){
		String content = getContent(map, givenCollisionObject) + "";
		return content;
	}
}

